package com.spring.conference;

import java.util.List;

public class Boss {

	private String name;
	private String company;
	private Car car;
	private List<String> hobbies;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public Car getCar() {
		return car;
	}
	public void setCar(Car car) {
		this.car = car;
	}
	public List<String> getHobbies() {
		return hobbies;
	}
	public void setHobbies(List<String> hobbies) {
		this.hobbies = hobbies;
	}
	
	@Override
	public String toString() {
		return "Boss [name=" + name + ", company=" + company + ", car=" + car + ", hobbies=" + hobbies + "]"+'\n';
	}
	
	
}
